package com.qf.flash.mvp.contract;

import com.qf.flash.http.response.PlayConditinoResponse;
import com.qf.flash.model.ScriptRoomBean;
import com.qf.flashlib.base.IPresenter;
import com.qf.flashlib.base.IView;

import java.util.HashMap;
import java.util.List;

/**
 * 剧本
 * 2020/3/7 9:35
 */
public class ScriptContract
{
    public interface View extends IView
    {
        void setPlayListData(List<ScriptRoomBean> data, int totalPage);

        void setConditionData(PlayConditinoResponse response);
    }

    public interface Presenter extends IPresenter<View>
    {
        void getPlayList(HashMap<String, Object> map);
        //商家获取剧本列表
        void getShopPlayList(HashMap<String, Object> map);

        void getConditions(String templateId, String isShop);
    }
}
